<include file="Public:header" />
<style>
.STYLE1 {
    color: #F00;
}

.STYLE2 {
    color: #00F;
}
</style>
<script language="JavaScript">
    ifcheck = true;
    function CheckAll(form)
    {
        for (var i=0;i<form.elements.length-2;i++)
        {
            var e = form.elements[i];
            e.checked = ifcheck;
        }
        ifcheck = ifcheck == true ? false : true;
    }
</script>

<div class="ncenter_box">
    <div class="accounttitle">
        <h1>{$title} </h1></div>
        <form method='post' action="__URL__/userLogistics">
    <table width="100%" class="tab3" border="0" cellpadding="0" cellspacing="1" bgcolor="#b9c8d0">
        <!-- <tr>
            <td align="right">查询：

                   
            </td>
            <td><input type="text" name="UserID" title="帐号查询" placeholder="会员编号"></td>

        </tr> -->
        <tr>
            <td>
                <select name="type">
                    <option value="0">全部</option>
                    <option value="1">未发货</option>
                    <!-- <option value="2">已发货</option> -->
                    <option value="3">已确认收货</option>
                </select>
            </td>
            <td>
                 <input type="submit" name="Submit" value="查 询"  class="btn1"/>
                  <div id="searchM" class=" none search cBoth"></div>
            </td>
        </tr>
    </table>
    </form>
    <form name="form3" method="post" action="__URL__/adminLogisticsAC">
        <table width="100%" class="tab3" border="0" cellpadding="0" cellspacing="1" bgcolor="#b9c8d0" id="tb1">
            <tr align="center">
<!--                 <th>
                    <input type="checkbox" name="chkall" value="checkbox" onclick="CheckAll(this.form)" class="btn2" id="chkall" />
                </th> -->
                <th><span>购货时间</span></th>
                <th><span>支付时间</span></th>
                <th><span>发货时间</span></th>
                <th><span>会员编号</span></th>
                <th><span>收货人</span></th>
                <th><span>收货地址</span></th>
                <th><span>电话</span></th>
                <th><span>产品名称</span></th>
                <th><span>数量</span></th>
                <th><span>总价</span></th>
                <!-- <th><span>利润</span></th> -->
                <!-- <th><span>结算账户</span></th>-->
                <th><span>状态</span></th>
            </tr>
            <volist name="list" id="vo">
                <tr class="content_td lz" align="center">
<!--                     <td>
                        <input type="checkbox" name="tabledb[]" value="{$vo['id']}" class="btn2" />
                    </td> -->
                    <td>
                        <eq name="vo.have_pay" value="1">{$vo.have_pay_time|date='Y-m-d H:i:s',###}<else/>未支付</eq>
                    </td>
                    <td>{$vo.pdt|date='Y-m-d H:i:s',###}</td>
                    <td>
                        <gt name="vo.fhdt" value="0">{$vo.fhdt|date='Y-m-d H:i:s',###}</gt>
                    </td>
                    <td>{$vo['user_id']}</td>
                    <td>{$vo['us_name']}</td>
                    <td>{$vo['us_address']}</td>
                    <td>{$vo['us_tel']}</td>
                    <td>{$voo[$vo['did']]}</td>
                    <td>{$vo['shu']}</td>
                    <td>{$vo['cprice']}</td>
                    <!-- <td>{$vo['yifanli']}</td> -->
                    <!-- <td>{$vo['countid']}</td>-->
                    <td>
                        <eq name="vo['ispay']" value="1">
                            已确认收货
                            <else/>
                            <eq name="vo['isfh']" value="0"><span class="STYLE1">未发货</span></eq>
                            <eq name="vo['isfh']" value="1"><span class="STYLE2">已发货</span></eq>
                        </eq>
                    </td>
                </tr>
            </volist>
        </table>
        <table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1" bgcolor="#b9c8d0">
            <tr>
                <td>
                    <!-- <input name="全选" type="button" class="ui negative basic mini btn button_text" id="全选" onclick="CheckAll(this.form)" value="全选" />&nbsp;&nbsp; -->
                    <!-- <input type="submit" name="action" value="确认发货" onclick="{if(confirm('您确定要给会员发货吗?')){return true;}return false;}" class="ui negative basic mini btn button_text" id="action" />&nbsp;&nbsp;
                    <input type="submit" name="action" value="确定收货" onclick="{if(confirm('要确定会员已收到货吗?')){return true;}return false;}" class="ui negative basic mini btn button_text" id="action" />&nbsp;&nbsp; -->
                    <input type="button" name="action" value="导出表格" onclick="{if(confirm('导出表格?')){window.location.href='__URL__/wuliu';}return false;}" class="ui negative basic mini btn button_text" id="action" />&nbsp;&nbsp;
                </td>

            </tr>
            <tr>
<!--                 <td colspan="4"><input type="submit" name="action" value="删除" onclick="{if(confirm('确定要删除选中的物流信息吗?')){return true;}return false;}" class="ui negative basic mini btn button_text" id="action" /></td> -->
            </tr>
        </table>
    </form>
    <table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1" bgcolor="#b9c8d0">
        <tr>
            <td>{$page}</td>
        </tr>
    </table>

    <include file="Public:footer" />